<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>css继承性</title>
		<style type="text/css">
			div#d1{
				color: red;
			}
			#d2 a{
				font-size: 40px;
				color: aquamarine;
			}
			.c2 a{
				font-size: 9px;
				color:crimson;
				text-decoration: none;
			}
			.c2 #t{
				font-size:99px;
			}
		</style>
	</head>
	<body>
		<div id="d1">
			<p>张良木是个安庆大帅哥</p>
			<a href="../3-16/p.html">昨天的案例</a>
		</div>
		<div id="d2" class="c2">
			<a href="#">淘宝</a>&nbsp;&nbsp;
			<a href="#" id="t">夸克搜索</a>
		</div>
	</body>
</html>